﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FortuneHeavenCommon.DataMap
{
    public partial class News
    {
        public const string TABLE_NAME = "News";
        public const string INSERT_SQL = "insert into News([ID],[Title],[Content],[Time],[NewsType],[Status],[SubmitUser]) values (@ID,@Title,@Content,@Time,@NewsType,@Status,@SubmitUser)";
        public const string UPDATE_SQL = "UPDATE News  set  [ID] = @ID , [Title] = @Title , [Content] = @Content , [Time] = @Time , [NewsType] = @NewsType , [Status] = @Status,[SubmitUser] =@SubmitUser  where ID = @ID";
        /// <summary>
        ///
        /// </summary>
        public int ID
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public string Title
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public string Content
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public DateTime Time
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public int NewsType
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public int Status
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public int SubmitUser
        {
            get;
            set;
        }
    }

}
